<script>
export default {
  name: "select_tag",
  emits:['select'],
  props:{
    text:String,
    active:Boolean
  }
}
</script>

<template>
<view style="display: inline-block" @click="$emit('select')">
  <u-tag class="mr20" :text="text" :bg-color="active ? '#E8F3FF':'#3F70FF'" :border-color="active != '' ?'#94BFFF':'#3F70FF'" :color="active != '' ?'#165DFF':'#FFFFFF'"></u-tag>
</view>
</template>

<style scoped lang="scss">

</style>
